package com.wing.res.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.res.model.entity.ResProductQualityTemplate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * 质检模板Dao
 * @version 1.1.0
 * @Author hz
 * @Date 2024-09-19 15:31
 **/
@Mapper
public interface ResProductQualityTemplateDao extends BaseMapper<ResProductQualityTemplate> {

    /**
     * 获取模板列表
     * @param pg
     * @param map
     * @return
     */
    List<ResProductQualityTemplate> list4app(@Param("page") Page<ResProductQualityTemplate> pg,@Param("map") Map map);
}
